package modele;

import java.util.HashMap;

import modele.parameters.SimulParametersNames;

public class SimulDynamicData implements SimulDynamicDataInterface {

	private HashMap<SimulDynDataNames, Object> innerMap;

	public SimulDynamicData() {
		innerMap = new HashMap<SimulDynDataNames, Object>();
	}

	@Override
	public void load(SimulDynDataNames name, Object data) {
		innerMap.put(name, data);

	}

	@Override
	public Object read(SimulDynDataNames name) {
		Object res = innerMap.get(name);

		return res;
	}
}
